package com.base.common.model.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author admin
 * @date 2020/5/14 PM4:16
 */
@Data
@NoArgsConstructor
@ApiModel(value = "ErrorInfo", description = "错误对象")
@AllArgsConstructor
public class ErrorInfo implements Serializable {
    @ApiModelProperty(notes = "返回结果码")
    private String code;

    @ApiModelProperty(notes = "返回结果信息")
    private String info;
}